var swiper = new Swiper('.swiper-container', {
    direction: 'vertical',
    slidesPerView: 1,
    spaceBetween: 30,
    mousewheel: true,
    pagination: {
        el: '.swiper-pagination',
        clickable: true,
    },
});


window.onscroll = function(){
    alert("1221");
};

let kr = document.querySelectorAll('.swiper-pagination span')
console.log(kr);
for(let i = 0; i < kr.length; i++){
    if(this.className = "swiper-pagination-bullet-active"){
        // alert("123")
    }
}
